<!-- Child.vue -->
<script setup>
const model = defineModel();
function update() {
  model.value++;
}
</script>

<template>
  <input v-model="model" />
  <div>Parent bound v-model is: {{ model }}</div>
  <button @click="update">Increment</button>
</template>
